package com.quanyan.club.mapper;

import com.quanyan.club.entity.db.TbClubOnlineMemberAccountStream;
import com.quanyan.club.entity.vo.resp.RespClubMemberAccountStream;
import com.quanyan.club.entity.vo.resp.RespClubMemberRemainder;
import com.quanyan.club.entity.vo.resp.admin.RespClubRechargeStream;

import java.util.List;
import java.util.Map;

/**
 * Created by zhang on 16/6/12.
 */
public interface ClubAccountExtendMapper {
    /**
     * 更新用户
     * @param map
     * @return
     */
    int updateClubOfflineMemberAccount(Map map);

    int updateClubOnlineMemberAccount(Map map);

    RespClubMemberRemainder memberRemainder(Map map);

    int memberAccountStreamCount(Map map);

    List<TbClubOnlineMemberAccountStream> memberAccountStream(Map map);

    Integer getClubOnlineMemberRechargeStreamCount(Map map);

    List<RespClubRechargeStream> getClubOnlineMemberRechargeStream(Map map);
}
